package com.bluecat.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bluecat.client.AccountClient;
import com.bluecat.model.Account;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author liaoyong
 * @since 2020-06-29
 */
@RestController
@RequestMapping("/account")
@Api(value = "/account",tags = {"账号管理"} )
public class AccountController {
	
	@Autowired
	private AccountClient accountService ;
	
	@RequestMapping("/detail")
	@ApiOperation("查询详情接口")
	@ResponseBody
	public Account getAccountDetail(@RequestBody Account account) {
		
		Wrapper<Account> queryWrapper = new QueryWrapper<Account>(account);
		//Account result = accountService.getOne(queryWrapper);
		return null;
	}
	
}

